#------------------------------------------------------
#
# Project created by Curtis McKinney 10/11/2010
#
#------------------------------------------------------

QT       += core

QT       -= gui

TARGET = HyperTerrainVis
CONFIG += console
CONFIG -= app_bundle
CONFIG += ordered
CONFIG += x86
#CONFIG -= x86_64

TEMPLATE = app

# Point to your cinder folder so that we know where everything is
CINDER_HOME = /Applications/cinder_0.8.3_mac

#QMAKE_LFLAGS += -arch i386
QMAKE_LFLAGS += -F/System/Library/Frameworks/Accelerate.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/QTKit.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/CoreAudio.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/CoreVideo.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/QuickTime.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/AudioUnit.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/OpenGL.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/AudioToolBox.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/ApplicationServices.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/Carbon.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/Cocoa.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/AppKit.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/CoreData.framework
QMAKE_LFLAGS += -F/System/Library/Frameworks/Foundation.framework

INCLUDEPATH += $${CINDER_HOME}/include
INCLUDEPATH += $${CINDER_HOME}/lib
INCLUDEPATH += $${CINDER_HOME}/lib/macosx
INCLUDEPATH += $${CINDER_HOME}/boost
INCLUDEPATH += $${CINDER_HOME}/boost/boost
INCLUDEPATH += $${CINDER_HOME}/blocks/msaFluid/include
INCLUDEPATH += $${CINDER_HOME}/blocks/opencv/include
INCLUDEPATH += $${CINDER_HOME}/blocks/osc/include
INCLUDEPATH += $${CINDER_HOME}/blocks/tuio/include
INCLUDEPATH += $${CINDER_HOME}/blocks/osc/lib/macosx

LIBS += -framework Accelerate
LIBS += -framework QTKit
LIBS += -framework CoreAudio
LIBS += -framework CoreVideo
LIBS += -framework QuickTime
LIBS += -framework AudioUnit
LIBS += -framework OpenGL
LIBS += -framework AudioToolbox
LIBS += -framework ApplicationServices
LIBS += -framework Carbon
LIBS += -framework Cocoa
LIBS += -framework AppKit
LIBS += -framework CoreData
LIBS += -framework Foundation

LIBS += $${CINDER_HOME}/blocks/osc/lib/macosx/osc.a
LIBS += $${CINDER_HOME}/lib/libcinder_d.a
LIBS += $${CINDER_HOME}/lib/libcinder.a
LIBS += $${CINDER_HOME}/lib/macosx/libz.a
LIBS += $${CINDER_HOME}/lib/macosx/libpng14.a
LIBS += $${CINDER_HOME}/lib/macosx/libpixman-1.a
LIBS += $${CINDER_HOME}/lib/macosx/libcairo.a
LIBS += $${CINDER_HOME}/lib/macosx/libboost_thread.a
LIBS += $${CINDER_HOME}/lib/macosx/libboost_system.a
LIBS += $${CINDER_HOME}/lib/macosx/libboost_filesystem.a
LIBS += $${CINDER_HOME}/lib/macosx/libboost_date_time.a


PRE_TARGETDEPS += $${CINDER_HOME}/blocks/osc/lib/macosx/osc.a \
    $${CINDER_HOME}/lib/libcinder_d.a \
    $${CINDER_HOME}/lib/libcinder.a \
    $${CINDER_HOME}/lib/macosx/libz.a \
    $${CINDER_HOME}/lib/macosx/libpng14.a \
    $${CINDER_HOME}/lib/macosx/libpixman-1.a \
    $${CINDER_HOME}/lib/macosx/libcairo.a \
    $${CINDER_HOME}/lib/macosx/libboost_thread.a \
    $${CINDER_HOME}/lib/macosx/libboost_system.a \
    $${CINDER_HOME}/lib/macosx/libboost_filesystem.a \
    $${CINDER_HOME}/lib/macosx/libboost_date_time.a

DEPENDPATH += $${CINDER_HOME}/blocks/osc/lib/macosx \
    $${CINDER_HOME}/lib \
    $${CINDER_HOME}/lib/macosx

LIBS += -L/Library/Frameworks \
    -framework \
    Jackmp

SOURCES += main.cpp \
    JackControl.cpp

HEADERS += \
    JackControl.h
